﻿using System.Data;
using DAL;


namespace BLL
{
    public class BllContract
    {
        #region[Get-Data]
        public DataTable GetContract(string keywords)
        {
            return DalContract.GetContract(keywords);
        }
        public DataTable GetContractEdit(int id)
        {
            return DalContract.GetContractEdit(id);
        }
        #endregion

        #region[Insert-Update-Delete]
        public static bool Insert(EtContract obj)
        {
            return DalContract.Insert(obj);
        }
        public static bool Update(EtContract obj)
        {
            return DalContract.Update(obj);
        }
        public static bool Delete(EtContract obj)
        {
            return DalContract.Delete(obj);
        }
        #endregion
    }
}